Blitz (11/213)

From:David McMinn
Date:2 May 2000 at 14:17:38
Subject:Re: Slightly OT, but more ASM :)

Hi oruk_amigan@btinternet.com

> I did see in some docs about a command called 'blk', but I see
> no reference of it being a 68K command (what's the proper
> name for it, begins with m, ummmm.... :), and Blitz doesn't
> recognise it. Do I have string together loads of DC-s? :-?

Ds.<size> <number of .size chunks to leave>

Works like Dc but doesn't initiailise the memory to anything.

Of course, that'll whack it into your program, which may be OK for some things
and not OK for others. You could use local variables in the function sense of
the word: create some space on the stack and then use that. For example,

LINK a4,#12 ; creates 12 bytes of space on the stack
; use a4 as the local variable base, with offsets such as -2(a4)
UNLK a4 ; restore the stack to what it was



|) /\ \/ ][ |) |\/| c |\/| ][ |\| |\| | dave@satanicdreams.com
http://members.xoom.com/David_McMinn | ICQ=16827694
This is your father's lightsaber. When you absolutely, positively, have to
kill every motherfuckin' stormtrooper in the room... accept no substitutes.
- Samuel L. Jackson, Jedi

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie